package com.example.demo.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Genealogy {
    private Long genealogyId;
    private Long userId;
    private String genealogyName;
    private String description;
    private Date createTime;

    @Override
    public String toString() {
        return "Genealogy{" +
                "genealogyId=" + genealogyId +
                ", userId=" + userId +
                ", genealogyName='" + genealogyName + '\'' +
                ", description='" + description + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}